/*
 * Copyright 2020-2025 the original author or authors.
 * You cannot use this file unless authorized by the author.
 */
package org.ipig.model.anls;

import com.alibaba.fastjson.annotation.JSONField;
import org.ipig.model.ConnectorConf;
import org.ipig.model.Outputter;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

/**
 * 分析模型输出器conf
 * Analysis-->缩写ANLS
 *
 * @author <a href="mailto:comchnts@163.com">chinats</a>
 * @version $$Id: AnlsOutputterConf.java 3 2020-01-21 09:36:33Z ts <comchnts@163.com> $$
 * @since 1.0
 */
@Data
@ToString
public class AnlsOutputterConf implements Serializable, Outputter {
    //唯一代码
    private String code = "";
    //标题说明
    private String title;
    //输出字段，如没字段则不输出,格式：<字段名，默认值>
    //扩展字段map,在增加，修改，删除三操作中此字段数据不变，固定值。
    private Map<String, String> outputFieldMap = new HashMap<String, String>();
    //连接器Conf
    @JSONField(serialize = false, deserialize = false)
    private ConnectorConf connectorConf;
    private String outputConnCode;
    //    private String connectorCode;
    //调试输出标识 默认关闭
    private Boolean debugEnable = Boolean.valueOf(false);
    // 其它属性
    private Map<String, Object> props = new HashMap<String, Object>();
}